<?php 
class Zend_View_Helper_DisplayListOfNews extends Zend_View_Helper_Abstract
{
    public function displayListOfNews($arrayNews)
    {
        $output = '';
		foreach ($arrayNews as $novedad) {
		$output .= '<div class="mod-box mod-news"><h2>' . $novedad['Titulo'] . '</h2>
			<p>' . $novedad['Estracto'] . '</p>
			<p><a class="lnk-btn lnk-more" href="/index/novedadesampliada/id/' . $novedad['id'] .'" title="Ampliar">Ampliar</a></p>
			<p class="mod-news-date">' . $novedad['Date'] . '</p></div>';
		}
		
		return $output;
    }
}